package com.dhecp.project.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dhecp.project.system.domain.SysUserInfoSimple;
import com.dhecp.project.system.mapper.SysUserModuleAgentMapper;
import com.dhecp.project.system.service.SysUserModuleAgentService;


/**
 * 用户功能代理 业务层处理
 * @author DH-Xxj
 * @version 2020年2月13日
 */
@Service
public class SysUserModuleAgentServiceImpl implements SysUserModuleAgentService{
	
	@Autowired
	private SysUserModuleAgentMapper userModuleAgentMapper;

	/**
	 * 查询指定用户可代理的用户列表
	 * @param agentuser 代理人
	 * @return List - SysUserInfoSimple
	 * @author DH-Xxj
	 */
	@Override
	public List<SysUserInfoSimple> queryUserAgentMandator(String agentuser){
		return userModuleAgentMapper.findUserAgentMandator(agentuser);
	}

}
